@echo off

mode 90,55

cls

echo.
echo ===== Checking...
echo.

echo.
echo ==/ Windows:

ver

echo.
echo.
echo ==/ WIT and WSZST info:
echo.

wit --version
wszst --version

echo.
echo.
echo ==/ Default Java:
echo.

java -version

echo.

echo - Java JRE 11 or greater for Whitehole Despag
echo - Java JRE 17 for Whitehole v1.7

echo.
echo.
echo ==/ Python 3.5 (required for j3dview):
echo.

py -3.5 --version

echo.

py -3.5 --version >nul 2>&1 && (

echo For Python 3.5...

echo.
py -3.5 -m pip show PyQt5 >nul 2>&1 && echo - PyQt5 Module is INSTALLED
py -3.5 -m pip show PyQt5 >nul 2>&1 || echo - PyQt5 Module is NOT INSTALLED

py -3.5 -m pip show PyOpenGL >nul 2>&1 && echo - PyOpenGL Module is INSTALLED
py -3.5 -m pip show PyOpenGL >nul 2>&1 || echo - PyOpenGL Module is NOT INSTALLED

py -3.5 -m pip show NumPy >nul 2>&1 && echo - NumPy Module is INSTALLED
py -3.5 -m pip show NumPy >nul 2>&1 || echo - NumPy Module is NOT INSTALLED

py -3.5 -m pip show Cython >nul 2>&1 && echo - Cython Module is INSTALLED
py -3.5 -m pip show Cython >nul 2>&1 || echo - Cython Module is NOT INSTALLED

echo.

)

echo.
echo ==/ Python 3.7 (minimum Python required for j3d-animation-editor):
echo.

py -3.7 --version

py -3.7 --version >nul 2>&1 && (

echo.
echo For Python 3.7...

echo.
py -3.7 -m pip show PyQt5 >nul 2>&1 && echo - PyQt5 Module is INSTALLED
py -3.7 -m pip show PyQt5 >nul 2>&1 || echo - PyQt5 Module is NOT INSTALLED

echo.

)

echo.
echo ===== Finished checking.
echo.

echo.

pause
echo.

exit 0